@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/system/news/news_add.js"]}){
<form id="newsForm" lay-filter="newsForm" class="layui-form model-form">
    <input name="newsId" type="hidden"/>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻标题<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsTitle" name="newsTitle" placeholder="请输入新闻标题" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻描述<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsDesc" name="newsDesc" placeholder="请输入新闻描述" type="text" class="layui-input" lay-verify="required"
                   required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻类别<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <select id="type" name="type">
                <option value="">新闻类别</option>
                <option value="00">机构动态</option>
                <option value="01">行业动态</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻级别<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsRate" name="newsRate" placeholder="请输入新闻级别,0为最高级" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否检验<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input type="radio" name="newsIsCheck" value="true" title="是" checked/>
            <input type="radio" name="newsIsCheck" value="false" title="否"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否置顶<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input type="radio" name="newsIsTop" value="true" title="是" checked/>
            <input type="radio" name="newsIsTop" value="false" title="否"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">可否评论<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input type="radio" name="newsIsComment" value="true" title="是" checked/>
            <input type="radio" name="newsIsComment" value="false" title="否"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻状态<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input type="radio" name="status" value="0" title="显示" checked/>
            <input type="radio" name="status" value="1" title="隐藏"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻图片<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="newsImagePath" name="newsImagePath" placeholder="请上传封面图" type="text" class="layui-input"
                   lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新闻内容<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <textarea id="newsContent" name="newsContent" placeholder="请输入新闻内容" class="layui-input"
                      lay-verify="required" required></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">备注<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required"
                   required/>
        </div>
    </div>
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}